{_header} {_navigation}
<div class="fehler">{errmsg}</div>
<br />
<br />
<table class="startseite" border="0" cellspacing="1" cellpadding="0" width="auto">
	<form method="post" name="MailAnKlasse">
	<tr>
		<th scope="col" colspan="3">
		<h2>Email an die Klasse: {klasse}</h2>
		</th>
	</tr>
	<th scope="row" valign="top">Von:</th>
	<td align="left">{absender}&nbsp;<input type="checkbox" name="MailKopie"
		value="MailKopie" checked> Kopie an Absender</td>
	</tr>
	<tr>
		<th scope="row" valign="top">An:</th>
		<td align="left">Selektiere <a href="javascript:selectToggle(true, 'MailAnKlasse');">alle</a> | <a href="javascript:selectToggle(false, 'MailAnKlasse');">keinen</a><p>{empfaenger}</td>
	</tr>
	<tr>
		<th scope="row" valign="top">&nbsp;</th>
		<td align="left">&nbsp;</td>
	</tr>
	<tr>
		<th scope="row" valign="top">Betreff:</th>
		<td align="left"><input type="text" name="betreff"
			value="{betreff}" size="100" /></td>
	</tr>
	<tr>
		<th scope="row" valign="top">Nachricht*:</th>
		<td align="left"><textarea name="nachricht" rows="25" cols="100">{nachricht}</textarea></td>
	</tr>
	<tr>
		<th scope="row" valign="top">&nbsp;</th>
		<td align="left"><input type="submit" value="Klassen-Email senden" /></td>
	</tr>
	<input type="hidden" name="action" value="send2class" /> <input
		type="hidden" name="userid" value="test" /> <input type="hidden"
		name="historyback" value="{historyback}" /></form>
</table>
<script type="text/javascript">
	function selectToggle(toggle, form) {
		var myForm = document.forms[form];
		for ( var i = 1; i < myForm.length; i++) {
			if (toggle && !myForm.elements[i].disabled) {
				myForm.elements[i].checked = "checked";
			} else {
				myForm.elements[i].checked = "";
			}
		}
	}
</script>

{_footer}
